function object(o) {
    function F() {}
    F.prototype = o
    return new F()
}
function createAnother(original) {
    let clone = object(original)
    clone.say = function() {
        console.log('我是' + this.name);
    }
    return clone
}
let person = {
    name: 'zzy'
}
let p1 = createAnother(person)
p1.say()
console.log(p1.__proto__);